type net/http.body
18 uses
net/http (current package)
server.go#L1038: if body, ok := req.Body.(*body); ok {
server.go#L1384: case *body:
server.go#L1706: body, ok := w.req.Body.(*body)
server.go#L2105: case *body:
server.go#L2121: case *body:
transfer.go#L563: t.Body = &body{src: internal.NewChunkedReader(r), hdr: msg, r: r, closing: t.Close}
transfer.go#L568: t.Body = &body{src: io.LimitReader(r, realLength), closing: t.Close}
transfer.go#L573: t.Body = &body{src: r, closing: t.Close}
transfer.go#L805: type body struct {
transfer.go#L825: func (b *body) Read(p []byte) (n int, err error) {
transfer.go#L835: func (b *body) readLocked(p []byte) (n int, err error) {
transfer.go#L905: func (b *body) readTrailer() error {
transfer.go#L960: func (b *body) unreadDataSizeLocked() int64 {
transfer.go#L967: func (b *body) Close() error {
transfer.go#L1008: func (b *body) didEarlyClose() bool {
transfer.go#L1016: func (b *body) bodyRemains() bool {
transfer.go#L1022: func (b *body) registerOnHitEOF(fn func()) {
transfer.go#L1031: b *body
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |